var api     = require('../../utils/api.js');
var WxParse = require('../../wxParse/wxParse.js');
var app     = getApp();


Page({

  /**
   * 页面的初始数据
   */
  data: {

  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {

    api.get({
      url: 'wxapp/index/getabout',
      data: {},
      success: data => {
          wx.hideNavigationBarLoading();
          if (data.code) {

              WxParse.wxParse('articleContent', 'html', data.data.value, this, 30);
     
          }
      },
      fail: err => {
          wx.hideNavigationBarLoading();
      }
  });
  },

})